using System.Collections.Specialized;
using System;

namespace LiveLinq.Internal
{
	class NullNotifyCollectionChanged : INotifyCollectionChanged
	{
		public static readonly NullNotifyCollectionChanged Instance = new NullNotifyCollectionChanged();

		NullNotifyCollectionChanged() {}

		#region INotifyCollectionChanged Members

		event NotifyCollectionChangedEventHandler INotifyCollectionChanged.CollectionChanged
		{
			add { }
			remove { }
		}

		#endregion

		public override bool Equals(object obj)
		{
			throw new NotImplementedException();
		}

		public override int GetHashCode()
		{
			throw new NotImplementedException();
		}
	}
}